﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="GroupBuy.View.Register" %>

<%@ Register Src="Footer.ascx" TagName="Footer" TagPrefix="uc" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>注册</title>
	<link rel="stylesheet" href="../Resources/css/index.css" type="text/css" media="screen"
		charset="utf-8" />
	<script type="text/javascript">
		var ValidateSubmit = function () {
			
			return false;
		}
	</script>
</head>
<body>
	<form runat="server">
	<div id="dialog">
	</div>
	<uc:Header runat="server" />
	<div id="bdw" class="bdw">
		<div id="bd" class="cf">
			<div id="signup">
				<div id="content" class="signup-box">
					<div class="box">
						<div class="box-top">
						</div>
						<div class="box-content">
							<div class="head">
								<a href="register.aspx">
									<h2>
										注册</h2>
								</a><span>&nbsp;或者 <a href="login.aspx">登录</a></span>
							</div>
							<div class="sect">
								<div class="field email">
									<label for="lbl-email">
										Email</label>
									<input type="text" size="30" name="email" id="txt-email" class="f-input" onblur="validate_email()" />
									<span class="hint">用于登录及找回密码，不会公开，请放心填写</span>
								</div>
								<div class="field username">
									<label for="signup-username">
										用户名</label>
									<input type="text" size="30" name="username" id="txt-username" class="f-input" value=""
										onblur="checkName(this)" maxlength="16" />&nbsp;&nbsp;&nbsp; <span style="color: red;"
											id="nameInfo"></span><span class="hint">填写4-16个字符，一个汉字为两个字符</span>
								</div>
								<div class="field password">
									<label for="signup-password">
										密码</label>
									<input type="password" size="30" name="password" id="txt-password" class="f-input" />
									<span class="hint">为了您的帐号安全，建议密码最少设置为6个字符以上</span>
								</div>
								<div class="field password">
									<label for="signup-password-confirm">
										确认密码</label>
									<input type="password" size="30" name="password2" id="txt-password-confirm" class="f-input" />
								</div>
								<div class="field">
									<label for="signup-password-confirm">
										手机号码</label>
									<input type="text" size="30" name="mobile" id="txt-mobile" class="number" /><span
										class="inputtip">手机号码是我们联系您的最重要方式，并用于优惠券的短信通知</span>
								</div>
								<div class="field city">
									<label id="enter-address-city-label">
										所在城市
									</label>
									<asp:DropDownList runat="server" ID="cityList" />
								</div>
								<div class="act">
									<asp:Button runat="server" ID="btnSubmit" Text="注册" CssClass="formbutton" OnClientClick="return ValidateSubmit();"
										OnClick="btnSubmit_Click" />
								</div>
							</div>
						</div>
						<div class="box-bottom">
						</div>
					</div>
				</div>
				<div id="sidebar">
					<div class="sbox">
						<div class="sbox-top">
						</div>
						<div class="sbox-content">
							<div class="side-tip">
								<h2>
									已有美团账户？</h2>
								<p>
									请直接<a href="Login.aspx">登录</a>。
								</p>
							</div>
						</div>
						<div class="sbox-bottom">
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<uc:Footer runat="server" />
	</form>
</body>
</html>
